package com.atguigu.spzx.manager.vo.product;

import com.atguigu.spzx.manager.entity.ProductSku;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * ProductSpecSaveReqVo
 * </p>
 *
 * @author flyduck
 * @since 2023/10/26
 */
@Data
@ApiModel(description = "商品规格添加入参")
public class ProductSaveReqVo {

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "品牌ID")
    private Long brandId;

    @ApiModelProperty(value = "一级分类id")
    private Long category1Id;

    @ApiModelProperty(value = "二级分类id")
    private Long category2Id;

    @ApiModelProperty(value = "三级分类id")
    private Long category3Id;

    @ApiModelProperty(value = "计量单位")
    private String unitName;

    @ApiModelProperty(value = "轮播图")
    private String sliderUrls;

    @ApiModelProperty(value = "商品规格json")
    private String specValue;

    @ApiModelProperty(value = "线上状态：0-初始值，1-上架，-1-自主下架")
    private Integer status;

    @ApiModelProperty(value = "审核状态：0-初始值，1-通过，-1-未通过")
    private Integer auditStatus;

    @ApiModelProperty(value = "审核信息")
    private String auditMessage;

    @ApiModelProperty(value = "sku列表集合")
    private List<ProductSku> productSkuList;

    @ApiModelProperty(value = "图片详情列表")
    private String detailsImageUrls;
}
